function xe_daumeditor_init(editor_sequence, primary_key_name, content_key_name) {
	var form = jQuery("#editor_textarea_"+editor_sequence).get(0).form;
	form.setAttribute('editor_sequence', editor_sequence);
	editorRelKeys[editor_sequence] = new Array();
	editorRelKeys[editor_sequence]["form"] = form;
	editorRelKeys[editor_sequence]["primary"] = form[primary_key_name];
	editorRelKeys[editor_sequence]["content"] = form[content_key_name];
	editorRelKeys[editor_sequence]["func"]	= xe_prepareContent;
	editorRelKeys[editor_sequence]["pasteHTML"] = function(text){
		Editor.canvas.pasteContent(text);
	}
}

function xe_prepareContent(editor_sequence) {
    var content = editorRelKeys[editor_sequence]['editor'].getContent();
	if(content=='<p><br></p>') return false;
	return content;
}